package com.wisdytech.ccdserver.matchwarning.serveice.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wisdytech.ccdserver.matchwarning.dao.IWarningMesProductionDao;
import com.wisdytech.ccdserver.matchwarning.model.WarningMesProduction;
import com.wisdytech.ccdserver.matchwarning.serveice.IWarningMesProductionService;
import com.wisdytech.common.bean.BasePage;
import com.wisdytech.common.bean.Filter;

/**
 * @author sunjinxin
 * @date 2024/5/20
 */
public class WarningMesProductionServiceImpl extends ServiceImpl<IWarningMesProductionDao, WarningMesProduction> implements IWarningMesProductionService {
    @Override
    public IPage<WarningMesProduction> getWarningMesProductionList(Filter filter) {

        Page<WarningMesProduction> page = BasePage.getPage(filter);
        IPage<WarningMesProduction> warningMesSandstoneIPage = baseMapper.getWarningMesProductionListByPage(page,filter.getQueryMap());
        return  warningMesSandstoneIPage;
    }
}
